{% extends "siteSetting/set_base.html" %}
{% block title %}第三方代码{% endblock %}
{% block head %}
{{ super() }}
<script src="{{ url_for('static', filename='js/jquery.min.js') }}"></script>
<style>
    #code-area {
        width: 600px;
        height: 260px;
    }
</style>
{% endblock %}

{% block page_content %}
<h1 class="page-header">第三方代码</h1>

<div class="form-group">
    <form action="{{ url_for('siteset.save_code') }}" method="post">
        <textarea class="form-control" name="code" id="code-area">{% if t %}{{ t.code }}{% endif %}</textarea>
        <button type="submit" class="btn btn-primary">提交</button>
    </form>
</div>


{% endblock %}

{% block scripts  %}
{{ super() }}
<script>


</script>
<script>
    nav = document.getElementById("nav_code");
    nav.setAttribute("class", "active");
</script>
{% endblock %}